import Vue from 'vue'
import VueRouter from 'vue-router'
// 导入登录组件
import repayment from '../components/repayment.vue'

Vue.use(VueRouter)

const routes = [
    
  // 根路径重定向到
  {
    path: '/',
    redirect: '/'
  },
  // 支付页面
  {
    path: '/repayment',
    component: repayment
  }
]

const router = new VueRouter({
  routes,
  mode:'history'
})

export default router

